package top.codecrab.eblog.mapper;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.codecrab.eblog.entity.SignLog;
import top.codecrab.eblog.vo.SignRankVo;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author codecrab
 * @since 2022-03-18
 */
public interface SignLogMapper extends BaseMapper<SignLog> {

    List<SignRankVo> selectCurrDayTop(@Param("now") DateTime now, @Param("field") String field, @Param("orderType") String orderType);

}
